package practice;

import java.util.Scanner;

public class 数字六 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入第一个数字");
        int frist = sc.nextInt();
        System.out.println("请输入第二个数字");
        int second = sc.nextInt();

        boolean a =  frist == 6 || second == 6 || (frist + second) % 6 == 0;
        System.out.println(a);
    }
}
